package net.thxjj.mobileServer.entity;

public enum GenieControlErrcode {

    INVALIDATE_CONTROL_ORDER("INVALIDATE_CONTROL_ORDER","控制指令不正确"),
    SERVICE_ERROR("SERVICE_ERROR","服务异常"),
    DEVICE_NOT_SUPPORT_FUNCTION("DEVICE_NOT_SUPPORT_FUNCTION","设备不支持该操作"),
    INVALIDATE_PARAMS("INVALIDATE_PARAMS","请求参数有误"),
    DEVICE_IS_NOT_EXIST("DEVICE_IS_NOT_EXIST","设备未找到"),
    IOT_DEVICE_OFFLINE("IOT_DEVICE_OFFLINE","设备离线状态"),
    ACCESS_TOKEN_INVALIDATE("ACCESS_TOKEN_INVALIDATE","access_token 无效（包括失效)"),
    ;


    private String error_description;
    private String error;
    GenieControlErrcode(String error, String error_description) {
        this.error = error;
        this.error_description = error_description;
    }

    public String getError_description() {
        return error_description;
    }

    public String getError() {
        return error;
    }


}
